home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 January / Macworld (2000-01).dmg / Shareware World / Utilities / Text processing / PDF–Blit™1.02.sea / PDF–Blit™1.02 / PDF-Blit™ 1.02 Manual.bbe < prev    next >
Text File  |  1999-10-17  |  28KB  |  346 lines

  1. <FONT COLOR=#FFEE11><RECT 0  0  700  900 >
  2. <FONT COLOR=#CCCCCC><RECT 58 442 516 600 >
  3. <FONT COLOR=#221277><RECT 66 450 500 600 >
  4. <h1><B><FONT COLOR=#FFFFFF>
  5.    PDF-Blit™ 1.02 User Manual
  6. </h1></B>
  7.  
  8. <h6> <FONT COLOR=#221299>
  9.      ©1999 by Kas Thomas. All rights reserved.
  10.      <pre><b>www.acroforms.com</pre></b>
  11.  
  12. </h6><FONT COLOR=#EDBBED><RECT 40 0 1  900 >
  13. <!!>
  14. <FONT COLOR=#FFEEEE>
  15. <RECT 0 0  700     900 >
  16.  
  17. <FONT COLOR=#990000>
  18. DISCLAIMER:
  19.  
  20. Reasonable care (despite what you might think!) has 
  21. in fact been taken in the preparation of this
  22. document and the software described herein. However, the
  23. author makes no representations or warranties regarding the
  24. fitness of the software for a particular purpose or its
  25. merchantibility; moreover, the author assumes no responsibility
  26. or liability for errors, omissions, bugs, or inaccuracies in
  27. either the software or its documentation. Said software and 
  28. documentation are provided “as is" and are subject to revision
  29. without prior notice. 
  30.  
  31. TRADEMARKS:
  32.  
  33. Acrobat is a trademark of Adobe Systems, Inc. Code Warrior is a
  34. trademark of Metrowerks, Inc. PowerMac and Macintosh are trademarks
  35. of Apple Computer. Other trademarks and trade names are the property
  36. of their respective holders.
  37.  
  38. UPDATES:
  39.  
  40. Updates will be posted at <pre>http://www.acroforms.com</pre>.
  41.  
  42. <!!> 
  43. <B> <FONT COLOR=#dddddd><RECT 0 0 800   900  >
  44. <FONT COLOR=#006333>
  45. Author: </B>
  46.    Kas Thomas
  47. <B>
  48. Developed using:</B>
  49.    Metrowerks Code Warrior Pro 5
  50.    PDFLib by Thomas Merz (tm@muc.de)
  51.    BBEdit Extension Interface SDK v7.0
  52.       (from http://www.barebones.com)
  53. <B>
  54. This documentation created using:</B>
  55.    BBEdit v5.0
  56.    PDF-Blit™ v1.02
  57. <!!>
  58. <FONT COLOR=#220000>
  59. <h2>What’s New in 1.02</h2><FONT COLOR=#000000>
  60. The major bug fixes are as follows.
  61.  
  62. First, the <b>transitions effects drop-down menu </B></b> should now work properly for all users. This has been a much-requested feature and is obvously a very important bit of functionality in the sense that <b>PDF-Blit gives you greater control over page transition effects than the full commercial version of Acrobat</b> (at least in version 4.0). If you haven't tried applying page transition effects to your documents, try it! Do it immediately! You won't believe how much extra impact it adds to PDF documents.
  63.  
  64. Secondly, the font dropdown menu now works more reliably as well.
  65.  
  66. Also, the lockups that users of BBEdit Lite were experiencing should no longer happen, since PDF-Blit now checks for what version of the BBE callback suite is present before using it. (Duh!) But do note one thing. If you use a Lite version of BBEdit, PDF-Blit may not be able to get Acrobat Reader started for you, automatically. This bit of functionality is definitely available when PDF-Blit is used with the full version of BBEdit, though.  
  67.  
  68. And finally, the \<BR> tag is no longer erroneously interpreted as \<B>! (Sorry. That was really stupid of me!) The HTML interpretation features are still rather rudimentary, so bear with us. 
  69.  
  70. Don't expect the world here. This is a work-in-progress, basically developed in my spare time. You should expect some rough edges!
  71.  
  72. And there certainly still are some. For example: Every once in a while, PDF-Blit causes BBEdit to simply quit cold, for no reason (apparently a  memory leakage condition ?), which I'll hopefully figure out a fix for by the next release... But I ask you to be patient. I am not terribly upset by little things like an occasional need to restart the host program. Heck, this kind of behavior is standard for the likes of Netscape Communicator 4.62, so...
  73.  
  74. As always, be sure to return to <b>www.acroforms.com</b> frequently to check for upgrades. Also bookmark my daily column at <b>http://www.acroforms.com/cgi-bin/rage.pl</b>, where you will find news, tips, gossip, opinions, arm-waving, JavaScript and Perl hacks, insider news on PDF and SVG, and all kinds of other good stuff, on (as I say) a <b>daily</b> basis. Don't miss out!
  75. <!!><FONT COLOR=#220000>
  76. <h3>What Is PDF-Blit™?</h3><FONT COLOR=#000000>
  77. PDF-Blit is an extension, or plug-in, for BBEdit (and BBEdit Lite), the text editor marketed by Bare Bones Software. The plug-in is designed to give a PDF export capability to BBEdit, thereby letting BBEdit users create attractive, richly formatted documents without having to use Distiller, Acrobat, or any other PDF authoring software. With PDF-Blit, you can output Portable Document Format files directly from BBEdit.
  78. <FONT COLOR=#220000>
  79. <h3>Features</h3><FONT COLOR=#000000>
  80. PDF-Blit will let you create very attractive, colorful documents directly from BBEdit, in your choice of serif (Times-Roman), sans-serif (Helvetica), or fixed-width (Courier) typeface, at any point size, and with any line spacing. Not only that, but you can use italics, boldface type, headings, and colored type freely throughout your document (by appropriate use of HTML-style tags; see further below). This manual, for example, was created using BBEdit and PDF-Blit™. In fact, the raw text version of this document is included in the PDF-Blit™ distribution files, so that you can see how various tags were used to achieve various effects in this document.
  81.  
  82. PDF-Blit™'s powerful capabilities include:
  83.  
  84.     • Choice of 12 default typefaces.
  85.     • Fonts in any point size, including fractional values.
  86.     • Leading (line spacing) of any magnitude, including fractional values.
  87.     • Text color can be varied on the fly.
  88.     • Typeface can be styled (italics, boldface, bold italics) on the fly.
  89.     • 6 heading sizes.
  90.     • Customizable tab width.
  91.     • Customizable character width. (Fonts can be condensed or expanded in one-percent increments.)
  92.     • Text justification option.
  93.     • User can set margins on all 4 edges of page.
  94.     • Choose from 7 page-transition effects (box-zoom, split, blinds, glitter, dissolve, wipe, and replace).
  95.     • Auto-page-numbering can be turned on or off.
  96.     • User-customizable header can be enabled/disabled.
  97.     • PDF file can be auto-opened in Acrobat Reader.
  98.     • HTML tags interpreted (see below).
  99.     • User control over PDF Document Info fields (Author, Title, Keywords).
  100.  
  101. <FONT COLOR=#FFFFFF><!!>
  102. And now... <FONT COLOR=#220000>
  103. <h3>Installation</h3><FONT COLOR=#000000>
  104. You can install PDF-Blit by dragging it into your BBEdit Plug-Ins folder. The extension will load automatically when you start BBEdit. You should see “PDF-Blit...” in the Tools menu when BBEdit is running. (It will be grayed out until you have a document open, however.)
  105. <FONT COLOR=#220000>
  106. <h3>Basic Operation</h3><FONT COLOR=#000000>
  107. You can output a PDF version of any file that's open in BBEdit's foremost window simply by choosing “PDF-Blit ...” from the Tools menu and clicking OK when the PDF-Blit dialog appears. Your original document will not be altered in any way. A new file, with the same name as the current document, but with “.pdf" appended to the name, will appear in the BBEdit default folder (the folder BBEdit is in). The new file will be a PDF file (filetype 'PDF ' and creator 'CARO') conforming to Version 1.3 of the PDF specification, suitable for viewing by Acrobat Reader 3.0 or higher.
  108. <FONT COLOR=#220000>
  109. <h3>Preferences</h3><FONT COLOR=#000000>
  110. You can set various user preferences in PDF-Blit's setup dialog, which appears every time PDF-Blit is launched. The settings you choose here will persist across BBEdit sessions. That is, each time you launch PDF-Blit, you will see the same settings that you chose the <i>last</i> time you used PDF-Blit. Your settings will not be lost, even after you quit BBEdit.
  111. <!!>
  112. <FONT COLOR=#440000>
  113. <h1>Advanced Options</h1><FONT COLOR=#220000>
  114. <h3>Default Typeface</h3><FONT COLOR=#000000>
  115. A drop-down menu allows you to select from 12 default typefaces for your document. The typefaces are Helvetica, Helvetica Bold, Helvetica Oblique, Helvetica Bold Oblique, Times-Roman, Times Bold, Times Oblique, Times Bold Oblique, Courier, Courier Bold, Courier Oblique, and Courier Bold Oblique. If you have left the “Interpret tags" checkbox unchecked (see below), the typeface that you select from the drop-down menu will remain the sole typeface used throughout your document. <i>If you wish to make use of bold, italics, or bold-italics at various places throughout your document, you need to check the “Interpret tags" checkbox and choose one of the three basic typefaces-Helvetica, Times-Roman, or Courier-as your default typeface.</i>
  116. <FONT COLOR=#220000>
  117.  <h3>Point Size</h3><FONT COLOR=#000000>
  118. You can choose any point size for the text in your document, including fractional values such as 9.8 or 13.6. For most documents, a default point size of 10 to 14 points works best.
  119. <FONT COLOR=#220000>
  120.  <h3>Leading</h3><FONT COLOR=#000000>
  121. Leading refers to the vertical spacing between lines of text. You can supply any leading value you want, but for most types of documents the leading value should be close in magnitude to the point size of the text. Use a higher leading value for greater space between lines; a lower value for more tightly packed lines. (A leading value that is three to four times the point size of the type will give your document a “double-spaced" look.)
  122. <FONT COLOR=#220000> 
  123.  
  124.  
  125.  <h3>Tabs</h3><FONT COLOR=#000000>
  126. You can tell PDF-Blit how many spaces to insert for each Tab in your document. A value of from 3 to 6 works good for most documents, although if you are setting up special tables, you may want to try other values.
  127. <FONT COLOR=#220000>
  128.  <h3>Character Width</h3><FONT COLOR=#000000>
  129. The default value for character width is 100, meaning 100% of normal width. For condensed type, enter a value smaller than 100. (For example, a value of 75 means every character in your document will be 75% of normal width.) For expanded type, use a value greater than 100. Note that the value you supply here applies globally to every character in your document.
  130. <FONT COLOR=#220000>
  131.  <h3>Transition Effect</h3><FONT COLOR=#000000>
  132. A second drop-down menu lets you choose from seven different page-transition effects that will take place in Acrobat Reader as you page through an open PDF document. The effects apply globally to every page in a document. The default effect is <b>replace. Box, split, wipe, and blinds</B> implement familiar cinematic transition effects.
  133.  
  134. PDF-Blit allows you greater control over transition effects than the full commercial version of Acrobat 4.0 does! This feature alone makes PDF-Blit™ a very powerful tool.
  135.  
  136. <FONT COLOR=#220000>
  137.  <h3>Page Numbering</h3><FONT COLOR=#000000>
  138. By checking the “Show Page Numbers" checkbox in PDF-Blit's setup dialog, you can make PDF-Blit number your document's pages for you. Page numbers will appear (in the default typeface) in the upper righthand corner of every page. <i>Note: To position the page number exactly where you want it, experiment with different Top Margin settings (below).
  139. <b>Tip: To keep a page number from appearing on the title page (first page) of your document, create a page-sized white rectangle (see below) on that page, before any text. The first page is numbered before the rectangle is drawn, which means that you can overpaint the first page number with white by using the big-white-rect technique. </b></i>
  140. <FONT COLOR=#220000>
  141.  <h3>Header Lines</h3><FONT COLOR=#000000>
  142. You can make PDF-Blit™ print up to three header lines in the upper left corner of every page, by default, just by checking the “Show Headers" checkbox and entering text in the Author, Title, and Keywords text-edit areas in the lower portion of the setup dialog. Whatever you type in the Author box will appear as the first line of your header. Whatever you type in the Title area will appear on a second header line, and whatever you type in Keywords will appear on a third header line. To make any header line not appear, just delete all text from the appropriate text-edit box. (No header will appear at all, of course, unless you have checked the “Show Headers" checkbox.)
  143. <FONT COLOR=#220000>
  144.       
  145.  <h3>Justify Text</h3><FONT COLOR=#000000>
  146. You can make PDF-Blit justify your document's text (flush right and flush left) by checking the Justify checkbox. But in order for justification to work properly, your document <i>must not contain hard returns at the end of every line.</i> Carriage returns must occur ONLY at paragraph endings, not at line endings. Fortunately, this is BBEdit's default behavior. (Soft-wrapping of text onscreen does not place hard returns in the actual document. So you can leave “soft wrapping" enabled.) Documents retrieved from DOS or Windows systems may not justify until you remove all the carriage returns and linefeeds from the line endings. Ditto for e-mail messages, which may contain hard returns at the ends of lines.
  147. <B>Important:</b> In this version of PDF-Blit™, you cannot enable tag interpretation and text justification at the same time. This is because PDF-Blit™ does not (currently) cache whole lines of text when formatting is enabled. Therefore, you can have formatting (italics, bold, headings, colored type, etc.), or you can have text justification, but not both. If there is sufficient interest, we will fix this in a future upgrade. In the meantime, to enable the “Interpret Tags" checkbox, uncheck the Justify checkbox, and vice versa.
  148.  
  149. Note: To control column width when justification is enabled, set your left and right page margins appropriately. In this version of PDF-Blit™, the ability to create multiple columns of justified type on the same page is not implemented. Again, if there is sufficient interest, we will implement this in a future upgrade.
  150.  
  151. <FONT COLOR=#220000>
  152. <h3>View in Acrobat</h3><FONT COLOR=#000000>
  153. By checking the “View in Acrobat" checkbox, you are telling PDF-Blit to launch Acrobat or Acrobat Reader (whichever is present on the BBEdit default disk) and display your just-created PDF file in Acrobat when PDF-Blit is done. Of course, sufficient free memory to run Acrobat must exist in order for this to work properly. <i>After Acrobat (or Reader) launches, your document will come to the front and Acrobat will be the active application. BBEdit will continue to run in the background.</i>
  154.  
  155. If you do not wish to see your PDF document open in Acrobat, leave “View in Acrobat" unchecked.
  156.  
  157. <FONT COLOR=#220000>
  158. <h3>Interpret Tags</h3><FONT COLOR=#000000>
  159. PDF-Blit™ v1.0 has a rudimentary built-in ability to interpret HTML tags. But not <i>all</i> HTML tags. The tags that are supported at this time include:
  160.  
  161.     • \<I> ... \</I> for italics.
  162.     • \<B> ...\ </B> for boldface.
  163.     • \<H1> thru \<H6> ... \</H1> thru \</H6> for headings.
  164.     • \<PRE> and \</PRE> for constant-width preformatted text (Courier).
  165.     • \<FONT COLOR=#RRGGBB>, where RRGGBB represents hex values for red, green, and blue color components.
  166.  
  167. Examples:
  168.  
  169. <I>This shows the use of \<I> for italics.</i>
  170. <B>This shows the use of \<B> for boldface.
  171. <I>This shows the use of \<B>\<I> for boldface italics.</I></B>
  172. <pre>This shows the use of \<pre> for preformatted text.
  173. <B>This shows preformatted boldface text via \<pre>\<B>.
  174. <I>And of course you can combine tags</i> in almost any</pre> manner </b>you want.
  175.  
  176.  
  177.  <h1>Heading \<h1> looks like this.</h1>
  178.  <h2>Heading \<h2> looks like this.</h2>
  179.  <h3>Heading \<h3> looks like this.</h3>
  180.  <h4>Heading \<h4> looks like this.</h4>
  181.  <h5>Heading \<h5> looks like this.</h5> 
  182.  <h6>Heading \<h6> looks like this.</h6>
  183.  
  184. <I><B>All other HTML tags are ignored and will not print (unless escaped as described in Note 4 below).</b></i>
  185.  
  186. Note 1: The HTML tags are not case-sensitive.
  187. Note 2: Headings are always Times Bold.
  188. Note 3: Style tags (bold, italics, etc.) should not be nested with heading tags (h1, h6, etc.).
  189. Note 4: When tag interpretation is enabled, the angle brackets will not print unless they are escaped with a backslash, as in<b> \\<.</b>
  190.    
  191.  <FONT COLOR=#000000> 
  192. <h4>Additional (Non-Standard) Tags</h4>
  193. In addition to the standard HTML tags listed above, PDF-Blit™ recognizes some tags of its own:
  194.  
  195.     • Use \<!!>to force a page break.
  196.     • Use \<#30>to force the file to end abruptly.
  197.  
  198. The former is useful when you are formatting a long document and need to be sure that a short section ends on a particular page.
  199.  
  200. The latter marking is useful as a workaround for a PDF-Blit™ bug that occasionally results in garbage characters at the very end of a file. By using \<#30> at the end of a file, you can prevent garbage characters from ever showing up.
  201. <h4>Graphics Capability</h4>
  202. PDFBlit™ incorporates one vector-graphics facility, for drawing rectangles. The special tag that invokes this facility is:
  203.  
  204.         \<RECT XX YY WW HH>
  205.  
  206. where XX and YY are numbers representing the coordinates for the lower left corner of the rectangle and WW and HH are numbers representing the width and height, respectively, of the rectangle. <I>Note that all rectangles are solid-filled with the current text color.</i>
  207. <b>Important:</b> In PDF space, the lower left corner of a page is the origin. The 'y' axis increases in the upward direction. Thus, to create a rectangle that covers an entire letter-sized page, you would write<b> \<RECT 0 0 612 792>.</b>
  208. <!!> 
  209. <FONT COLOR=#220000>
  210. <h3>Setting Margins</h3><FONT COLOR=#000000>
  211. You can set the margins for all four edges of your page. The units are in printer's points (72 points to the inch). If you want half-inch margins left and right, set the left and right margin values to 36. For a two-inch margin at the top of the page, use a value of 144. And so on.
  212. <FONT COLOR=#220000>
  213. <h3>Author</h3><FONT COLOR=#000000>
  214. The Author text-edit box lets you attach Author information to your PDF document. This information is seen in Acrobat Reader when the user chooses the “Document Info...” command. <I>Note: Any text you type here will also show up in the header on each page of a document if you have enabled “Show Headers.” </I>
  215. <FONT COLOR=#220000>
  216. <h3>Title</h3><FONT COLOR=#000000>
  217. The Title text-edit box lets you attach Title information to your PDF document. This information is seen in Acrobat Reader when the user chooses the “Document Info...” command. <I>Note: Any text you type here will also show up in the second line of the header on each page of a document if you have enabled “Show Headers.” </I>
  218. <FONT COLOR=#220000>
  219. <h3>Keywords</h3><FONT COLOR=#000000>
  220. The Keywords text-edit box lets you attach Keywords information to your PDF document. This information is seen in Acrobat Reader when the user chooses the “Document Info...” command. <I>Note: Any text you type here will also show up in the third header line on each page of a document if you have enabled “Show Headers.” </I>
  221. <!!> <FONT COLOR=#EEEEEE><RECT 0 0 800   900 ><FONT COLOR=#D8EEDD><RECT 90 628 800   40 >  <FONT COLOR=#000000>
  222. <FONT COLOR=#88AA88><RECT 300 540 100   600 > <FONT COLOR=#BBCCFF><RECT 0 550 480   66 > <FONT COLOR=#111155>
  223. <h1>A Short PDF-Blit™ FAQ</h1><FONT COLOR=#000000>
  224.  
  225. <b>How can I create a colored background for a page?</b>
  226.  
  227. In addition to enabling tag interpretation (see above), you must do three things:
  228.  
  229. 1. Set the rectangle's color, by writing \<FONT COLOR=#RRGGBB> where RRGGBB are the hex values for the color components.
  230.  
  231. 2. Create a rectangle covering the whole page. For example: \<RECT 0 0 700 800>.
  232.  
  233. 3. Make sure you have inserted the foregoing code <b>prior to</b> any text that is to appear on the page. Otherwise, the rectangle will overwrite the text and you won't see any text. Also make sure that after you have created the rectangle that you reset the text color to a different color, say black (an RGB value of #000000). Otherwise, your text will be printed over the rectangle in the rectangle's own color, which of course will render the text invisible.
  234.  
  235.  
  236.  <B>Where can I find out about upgrades to PDF-Blit™?</b>
  237.  
  238. Visit  <B>www.acroforms.com</b> on a regular basis. We do not operate a mailing list at present.
  239.  
  240.  <B>Is source code available for PDF-Blit™?</b>
  241.  
  242. No, although a bare-bones framework (so to speak) for the code appeared in a late-1999 issue of <I>MacTech</i>. Go to  <B>www.mactech.com</b> for details.
  243.  
  244. Code for the PDF-generating portions of PDF-Blit™ came from Thomas Merz's excellent PDFLib library. For that, visit  <B>www.pdflib.com.</b>
  245.  
  246.  
  247.  <B>I would like to be able to put thin horizontal rules on a page. Is there a way to do this?</b>
  248.  
  249. Create one-pixel-deep rectangles at the positions where you want rules to appear. Remember, PDF-Blit™ will let you position rectangles with pixel accuracy. It may take you awhile to fit the text around your “rects” but with a little experimentation you should be able to achieve some nice effects.
  250.  
  251.  <B>Can I print white text on a grey background?</b>
  252.  
  253. But of course! Just draw a gray rectangle (see above) in the appropriate place(s) and then specify a text color of #FFFFFF with a FONT tag. (But be sure to change the font color back to a non-white color later, after you're done drawing over the colored rect.)
  254.  
  255.  
  256.  <B>My headers and page numbers look awfully close to the top of the page. Is there a way to change this?</b>
  257.  
  258. Set your top margin to a more generous value (for example, 150). 
  259.  
  260.  
  261.  <B>Some lines of text are going off the right edge of the page. Is there a way to keep this from happening?</b>
  262.  
  263. Set your right margin to a higher value. Or enter hard returns in your “problem lines.” But remember that if you change point sizes or typefaces, your lines may reflow in an unexpected manner.
  264.  
  265.  
  266.  <B>Is there a way to change the typeface or size or placement of the headers or page numbers?</b>
  267.  
  268. Not at this time. Sorry.
  269.  
  270.  
  271.  <B>Can I use condensed type? Will it affect text justification or right-hand page margins in any way?</B>
  272.  
  273. You can vary character widths in the setup dialog. Entering 50 (for 50% of normal) will give you very VERY tightly condensed (skinny) letters. A more tasteful value would be 85%. But in any case, text justification is not affected. Your text should justify normally (to the margins you selected) with character width values other than 100.
  274.  
  275.  
  276.  <B>Will PDF-Blit™ hyphenate words to achieve better justification?</b>
  277.  
  278. No attempt is made to hyphenate words. Even so, the justification should look pretty good, because we use a combination of word spacing adjustments, character spacing, and character width adjustment to achieve justification. The lack of hyphenation shouldn't be a factor in most cases. The only time it might be a factor is when the column width is small relative to the point size of the type. In that case, you should either turn justification off or use smaller type (or smaller margins).
  279.  
  280.  
  281.  <B>Is there any limit on the number of pages I can have in a document?</b>
  282.  
  283. No.
  284.  
  285.  
  286.  <B>Will I run out of memory if I try to convert a large document to PDF?</b>
  287.  
  288. No, you shouldn't. Large or small shouldn't matter, since the document is written to disk progressively as it is created. It isn't cached in memory.
  289.  
  290.  
  291.  <B>Sometimes when I make changes to a document and re-render it as PDF, the changes don't show up in the open document in Acrobat Reader.</b>
  292.  
  293. You have to close the old PDF document in Reader before re-rendering a new version of it. Otherwise, Reader still shows you the old version.
  294.  
  295.  
  296.  <B>Can I save my PDF document to a different directory or folder?</b>
  297.  
  298. Not presently. Right now, the PDF file is automatically written to the same folder where BBEdit resides.
  299.  
  300.  <B>Can I somehow insert hidden signatures or copyright notices inside my PDF document?</b>
  301.  
  302. Yes. To some degree, that's what the Author, Title, and Keyword fields of the setup dialog are for. Text you type there will be embedded in the PDF document, visible only when the user selects “Document Info...” in Acrobat.
  303.  
  304.  <B>When I begin a line with a heading, using \<h6> for example, I get an extra carriage return ahead of that line that I don't want. What can I do about it?</b>
  305.  
  306. This is a known bug (or feature, depending). You can try this workaround: Immediately before the heading, type a blank space. When you convert to PDF, the space will be removed, the heading will be flush-left, and the extra carriage return will no longer be there.
  307.  
  308.  <B>PDF-Blit doesn't seem to like for a line to begin with a space. I notice it removes spaces at the start of a line. What can I do about this?</b>
  309.  
  310. Type Option-Space, instead of space, at the start of a line if you really intend to begin a line with a space, for example if you're trying to manually align preformatted text. Option-Space will solve the problem.
  311.  
  312.  <B>I would like to convert my C or JavaScript code listings to PDF, using PDF-Blit, but when I do it, all of my indenting is lost.</b>
  313.  
  314. Read the last question and answer. A good workaround for you, if you have highly indented files, would be to use BBEdit's global Find and Replace feature to search on all carriage returns (which is the code '\\r') and replace them with <b>backslash-r-Option-space.</b> This means when you are done, every single line will start with a <i>noncollapsible space, </I>and your document's indenting will be preserved throughout the document.
  315.  
  316.  <B>Every once in a while, I'll go to output a document and all of a sudden I'll find that the default font has changed, by itself! What's going on?</b>
  317.  
  318. It doesn't change by itself. What happens is that if you <b>end</b> a tagged text file before you've closed the last tag, then whatever typeface you were in when the file was closed becomes your new default typeface. The answer should be obvious: Always close your tags. That means if you use \<pre>, you should later close it with \</pre>, especially if it's the last tagged area in the file. Leaving off the closing \</pre>tag will change your default typeface to Courier, possibly causing you to think Acrobat Reader can't find a needed font resource.
  319.  
  320.  <B>Sometimes, when I am outputting a document in Helvetiva Bold, halfway through a page the type will change to plain Helvetica. For the rest of the page, I will get non-bold, even though I chose Helvetica Bold as the default typeface in the setup dialog.</b>
  321.  
  322. If you truly want Helvetica Bold to be globally applicable all throughout the file, turn HTML tag interpretation off. That way, your typeface selection will remain in effect no matter what! Unfortunately, if you enable HTML tag interpretation, it is possible for you to unwittingly "unbold" a section by using \<b> and \<\b> tags around a word or phrase. This is because PDF-Blit slavishly adheres to whatever tag instructions you call out. We could make PDF-Blit smarter about how it interprets tags, but that would take a bit of work and frankly we'd rather devote that kind of effort to supporting other types of features. So if you are truly intent on enforcing the use of one particular typeface throoughout a document, turn off HTML tag interpretation. That's the only sure way to get the job done. (Otherwise, cleverly reinsert boldface or other tags as necessary in your text, to keep styling the way you intended it.)
  323.  
  324.  <B>Do I need to credit PDF-Blit or PDFLib, Thomas Merz, Aladdin, etc. in any documents I create with PDF-Blit?</b>
  325.  
  326.  No. Not as far as we're concerned.
  327.  
  328.  <B>Can I put hypertext links in my PDF document using PDF-Blit™?</b>
  329.  
  330. Not presently. This is just one of many features we'd like to add to PDF-Blit™ someday. If you have a feature you'd like to see added, contact the author at <B><pre>kt@acroforms.com.</pre></b>
  331.  
  332. <B> Is there any truth to the rumor that you are working on a plug-in called SVG-Blit?</b>
  333.  
  334. Yes and no. We are considering whether to try to give BBEdit some sort of primitive SVG output capability via a plug-in. (SVG is short for Scalable Vector Graphics, in case you've been on another planet.) The SVG-Blit plug-in, like BBEdit itself, would be restricted to text output only, not graphics. The main benefit of such a plug-in is that you could use it to achieve a variety of text-justification and other typographic effects using the base-14 fonts, very easily, without buying a high-end software package or trying to do text compositing in Adobe Illustrator (which has a good SVG-output plug-in but is a terrible environment for producing text). It will be a long time before decent text justification is available in the SVG format. Our thinking is that a BBEdit plug-in could fill the gap for a while.
  335.  
  336. And in the meantime, tell your friends about us! Remember the URL:<FONT COLOR=#880000> <pre>www.acroforms.com.</pre>
  337. <#30>
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.